Method and system for intra mode coding

ABSTRACT

A video decoding method includes obtaining a current frame of a video input; partitioning the current video frame into a plurality of coding blocks; predicting a symbol level for each coding block in intra prediction modes included in an allowed intra prediction mode (AIPM) set; transforming and quantizing a residual symbol level; entropy coding the transformed and quantized residual symbol level; and outputting a bitstream. The intra prediction modes included in the AIPM set are determined by determining whether a current video coding format for the current frame is of a video coding scheme based on VVC standard or a video coding scheme based on AV1 standard. The intra prediction modes include 6 most probable modes (MPM) and 32 remaining modes in the AIPM set for VVC standard, and directional modes of 8 nominal angles and non-directional or smooth modes in the AIPM set for AV1 standard.

RELATED APPLICATIONS

This application is a continuation application of U.S. patent aApplication Ser. No. 17/068,522, filed on Oct. 12, 2020, which claimspriority to U.S. provisional patent application No. 62/941,350, filed onNov. 27, 2019, the entire contents of both of which are incorporated byreference in its entirety.

FIELD OF THE TECHNOLOGY

This application relates to the field of video coding technologies and,specifically, to a method and system for intra mode coding.

BACKGROUND OF THE DISCLOSURE

AOMedia Video 1 (AV1) is an open video coding format designed for videotransmissions over the Internet. It was developed as a successor to VP9by the Alliance for Open Media (AOMedia), a consortium founded in 2015that includes semiconductor firms, video on demand providers, videocontent producers, software development companies and web browservendors. Many of the components of the AV1 project were sourced fromprevious research efforts by Alliance members. Individual contributorsstarted experimental technology platforms years before: Xiph's/Mozilla'sDaala already published code in 2010, Google's experimental VP9evolution project VP10 was announced on 12 Sep. 2014, and Cisco's Thorwas published on 11 Aug. 2015. Building on the codebase of VP9, AV1incorporates additional techniques, several of which were developed inthese experimental formats. The first version 0.1.0 of the AV1 referencecodec was published on 7 Apr. 2016. The Alliance announced the releaseof the AV1 bitstream specification on 28 Mar. 2018, along with areference, software-based encoder and decoder. On 25 Jun. 2018, avalidated version 1.0.0 of the specification was released. On 8 Jan.2019 a validated version 1.0.0 with Errata 1 of the specification wasreleased. The AV1 bitstream specification includes a reference videocodec.

ITU-T VCEG (Q6/16) and ISO/IEC MPEG (JTC 1/SC 29/WG 11) published theH.265/HEVC (High Efficiency Video Coding) standard in 2013 (version 1)2014 (version 2) 2015 (version 3) and 2016 (version 4). In 2015, thesetwo standard organizations jointly formed the JVET (Joint VideoExploration Team) to explore the potential of developing the next videocoding standard beyond HEVC In October 2017, they issued the Joint Callfor Proposals on Video Compression with Capability beyond HEVC (CfP). ByFeb. 15, 2018, total 22 CfP responses on standard dynamic range (SDR),12 CfP responses on high dynamic range (HDR), and 12 CfP responses on360 video categories were submitted, respectively. In April 2018, allreceived CfP responses were evaluated in the 122 MPEG/10th JVET meeting.As a result of this meeting, JVET formally launched the standardizationprocess of next-generation video coding beyond HEVC. The new standardwas named Versatile Video Coding (VVC), and JVET was renamed as JointVideo Expert Team.

In the AV1, the number of available intra prediction modes is 62, whichincludes 56 angular intra prediction modes, 5 smooth modes, and 1chroma-from-luma mode. The angular intra prediction modes are alsocalled directional intra prediction modes. For 56 angular intraprediction modes, 8 of them are named as nominal angles, and each of thenominal angles has 7 delta angles (including the nominal angle itselfwhich has 0 delta angle), which are different with the definition of theangles in the VVC. In addition, the number and definition of smoothmodes of the video coding scheme based on the AV1 are also differentwith that of the video coding scheme based on the VVC. Therefore, theintra mode coding in NET-L0280 (a VVC proposal) cannot be directlyapplied to the AV1 standard.

The disclosed methods and systems are directed to solve one or moreproblems set forth above and other problems.

SUMMARY

One aspect of the present disclosure includes a video decoding method.The method includes: obtaining a current frame of a video input;partitioning the current video frame into a plurality of coding blocks;predicting a symbol level for each coding block in intra predictionmodes included in an allowed intra prediction mode (AIPM) set, where theAIPM set for luma components in each coding block is called AIPM_Luma,and the AIPM set for chroma components in each coding block is calledAIPM_Chroma; transforming and quantizing a residual symbol level;entropy coding the transformed and quantized residual symbol level; andoutputting a bitstream. The intra prediction modes included in the AIPMset are determined by: determining whether a current video coding formatfor the current frame is of a video coding scheme based on a VersatileVideo Coding (VVC) standard or a video coding scheme based on an AOMediaVideo 1 (AV1) standard; when the current video coding format is of thevideo coding scheme based on the VVC standard, including 6 most probablemodes (MPM) and 32 remaining modes in the AIPM set; and when the currentvideo coding format is of the video coding scheme based on the AV1standard, including directional modes of 8 nominal angles andnon-directional or smooth modes in the AIPM set, regardless of a size ofthe current coding block or the intra prediction modes of neighboringcoding blocks.

Another aspect of the present disclosure includes a video decodingsystem. The system includes a memory storing computer programinstructions; and a processor coupled to the memory and, when executingthe computer program instructions, configured to perform: obtaining acurrent frame of a video input; partitioning the current video frameinto a plurality of coding blocks; predicting a symbol level for eachcoding block in intra prediction modes included in an allowed intraprediction mode (AIPM) set, where the AIPM set for luma components ineach coding block is called AIPM_Luma, and the AIPM set for chromacomponents in each coding block is called AIPM_Chroma; transforming andquantizing a residual symbol level; entropy coding the transformed andquantized residual symbol level; and outputting a bitstream. The intraprediction modes included in the AIPM set are determined by: determiningwhether a current video coding format for the current frame is of avideo coding scheme based on a Versatile Video Coding (VVC) standard ora video coding scheme based on an AOMedia Video 1 (AV1) standard; whenthe current video coding format is of the video coding scheme based onthe VVC standard, including 6 most probable modes (MPM) and 32 remainingmodes in the AIPM set; and when the current video coding format is ofthe video coding scheme based on the AV1 standard, including directionalmodes of 8 nominal angles and non-directional or smooth modes in theAIPM set, regardless of a size of the current coding block or the intraprediction modes of neighboring coding blocks.

Other aspects of the present disclosure can be understood by thoseskilled in the art in light of the description, the claims, and thedrawings of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an operating environment incorporating certainembodiments of the present disclosure;

FIG. 2 illustrates an electronic device consistent with embodiments ofthe present disclosure;

FIG. 3 illustrates a computer system consistent with embodiments of thepresent disclosure;

FIG. 4 illustrates a video encoder consistent with embodiments of thepresent disclosure;

FIG. 5 illustrates an exemplary video coding method consistent withembodiments of the present disclosure;

FIG. 6 illustrates the available intra prediction modes in the VVCstandard;

FIG. 7 illustrates 8 nominal angles of the intra prediction modes in theAV1 standard;

FIG. 8 illustrates top, left, and top-left positions for PAETH modeconsistent with embodiments of the present disclosure;

FIG. 9 illustrates examples of recursive intra filtering modesconsistent with embodiments of the present disclosure;

FIG. 10 illustrates a flowchart of determining the intra predictionmodes included in the allowed intra prediction mode (AIPM) setconsistent with embodiments of the present disclosure; and

FIG. 11 illustrates positions of five neighboring coding blocks in theprocess of deriving the 6 MPMs consistent with embodiments of thepresent disclosure.

DESCRIPTION OF EMBODIMENTS

The following describes the technical solutions in the embodiments ofthe present invention with reference to the accompanying drawings.Wherever possible, the same reference numbers will be used throughoutthe drawings to refer to the same or like parts. Apparently, thedescribed embodiments are merely some but not all the embodiments of thepresent invention. Other embodiments obtained by a person skilled in theart based on the embodiments of the present invention without creativeefforts shall fall within the protection scope of the presentdisclosure. Certain terms used in this disclosure are first explained inthe followings.

Versatile Video Coding (VVC): VVC is a video decoding standard developedby the Joint Video Exploration Team (JVET) to succeed the HEVC (alsoknown as ITU-T H.265). VVC specifies a video coding technology with acompression capability that is substantially beyond that of the priorgenerations of such standards and is highly versatile for effective usein a broadened range of applications. VVC standard is incorporatedherein by reference.

AOMedia Video 1 (AV1): AV1 is an open-source video coding standarddeveloped by the Alliance for Open Media (AOMedia) for videotransmissions over the Internet. AV1 standard is incorporated herein byreference.

Allowed intra prediction modes (AIPM): defined as one mode set withmodes that can be used for intra prediction of current block derivedaccording to the intra prediction modes of neighboring blocks.

Disallowed intra prediction modes (DIPM): defined as one mode set withmodes that cannot be signaled or used for intra prediction of currentblock and derived according to the intra prediction modes of neighboringblocks.

Context-based Adaptive Binary Arithmetic Coding (CABAC): CABAC is a formof entropy coding used in various video coding standards.

Versatile video coding Test Model (VTM): VTM provides an encoder sidedescription of VVC algorithm and the test procedures.

Bjontegaard delta rate (BDR or BD-rate): BDR is a method of evaluatingcoding efficiency by measuring bit-rate changes for a same peaksignal-to-noise ratio (PSNR) of video signals.

FIG. 1 shows an operating environment 100 incorporating certainembodiments of the present disclosure. As shown in FIG. 1, the operatingenvironment 100 may include a variety of devices with videofunctionalities. For example, the operating environment 100 may includea terminal device 102, a camera device 104, and an internet of things(IoT) device 106. Other types of devices may also be included.

The operating environment 100 may also include a server 122, a humanvision application 124, a machine vision application 126, and acommunication link 140 connecting the variety of devices to the server122. A user 130 may use, access, or control one or more of the varietyof devices.

The terminal device 102 may include any user terminal, such as apersonal digital assistant (PDA), a mobile phone, a smart phone, anintegrated messaging device (IMD), a tablet computer, a notebookcomputer, a desktop computer, and other computing devices. The cameradevice 104 may include any image or video capturing devices, such as adigital camera, a video camera, a security camera, a vehicle on-boardcamera, and a stereo camera, etc. The IoT device 106 may include anytype of IoT device with a camera function, such as a digital doorbell,an autonomous driving sensor, a digital voice assistant, a smartspeaker, a smart appliance, and any industrial or commercial IoTsystems. Any of the variety of devices 102, 104, and 106 may bestationary or mobile when carried by an individual who is moving, andmay also be located as a part or in a mode of transport including a car,a truck, a taxi, a bus, a train, a boat, an airplane, a bicycle, amotorcycle or any similar suitable mode of transport.

FIG. 2 shows an electronic device for implementing any of the variety ofdevices 102, 104, and/or 106. As shown in FIG. 2, the electronic device200 may include a hardware processor 202, a memory 204, a card reader206, a display 208, a keyboard 210, a radio-frequency (RF) interface212, a baseband 214, an antenna 216, an encoder 222, a decoder 224, acamera 226, a speaker 232, and a microphone 234, etc. The componentsshown in FIG. 2 are illustrative, certain components may be omitted, andother components may be added.

The processor 202 may be provided for controlling the electronic device200. The processor 202 may be connected to other components through oneor more bus or other electrical connections to send data to and receivedata from the other components. The processor 202 may include one ormore processing cores, for example, a 4-core processor or an 8-coreprocessor. The processor 202 may be implemented by using at least onehardware form of digital signal processing (DSP), a field-programmablegate array (FPGA), an application specific integrated circuit (ASIC),and a programmable logic array (PLA). The processor 202 may also includea main processor and a coprocessor. The main processor may be a centralprocessing unit (CPU), and the coprocessor may be a graphics processingunit (GPU) configured to be responsible for rendering and drawingcontent that a display screen needs to display. In some embodiments, theprocessor 202 may further include an artificial intelligence (AI)processor. The AI processor is configured to process a computingoperation related to machine learning.

The memory 204 may include one or more computer-readable storage media,such as a high-speed random access memory and a nonvolatile memory, forexample, one or more disk storage devices or flash storage devices. Thememory 204 may store both data in the form of image and audio data andmay also store instructions for the processor 202. The card reader 206may include any type of portable card interface, such as a smart cardinterface, a communication card interface (e.g., near fieldcommunication (NFC) card), or a subscriber identifier module (SIM) cardor other card interface for providing user information and beingsuitable for providing authentication information for authentication andauthorization of the user 130.

Further, the display 208 may be any suitable display technology suitableto display an image or video. For example, the display 208 may include aliquid crystal display (LCD) screen, an organic light-emitting diode(OLED) screen, or the like, and may be a touch screen. The keyboard 210may include a physical or virtual keyboard to input information by theuser 130, and may also include other types of input/output devices. Thespeaker 232 and the microphone 234 may be used to input and output audiofor the electronic device 200.

The RF interface 212 (together with the antenna 216) may include RFcircuitry for receiving and transmit RF signals. The RF interface 212may convert an electrical signal to an electromagnetic signal fortransmission or convert a received electromagnetic signal into anelectrical signal for receiving. The RF interface 212 may communicatewith other electronic devices through at least one wirelesscommunication protocol. The wireless communication protocol may includea metropolitan area network, mobile communications networks (2G, 3G, 4G,and 5G) of various generations, a wireless local area network (LAN),and/or a wireless fidelity (WiFi) network. In some embodiments, the RFinterface 212 may also include a circuit related to near fieldcommunication (NFC). The baseband 214 may include circuitry forprocessing the signals to and from the RF interface 212.

Further, the camera 226 may include any type of imaging or videocapturing device configured to collect an image or a video. When theelectronic device 200 is a portable device carried by the user 130, thecamera 226 may include a front-facing camera and a rear-facing camera.The front-facing camera may be disposed on the front panel of theelectronic device, and the rear-facing camera is disposed on a rearsurface of the electronic device. In some embodiments, there are atleast two rear-facing cameras, each being any one of a main camera, adepth-of-field camera, a wide-angle camera, and a telephoto camera, soas to implement a background blurring function by fusing the main camerawith the depth-of-field camera, and implement panoramic shooting andvirtual reality (VR) shooting functions or other fusing shootingfunctions by fusing the main camera with the wide-angle camera. In someembodiments, the camera 226 may further include a flash.

The encoder 222 and the decoder 224 may be referred as the codeccircuitry of the electronic device suitable for carrying out coding anddecoding of audio and/or video data or assisting in coding and decodingcarried out by the processor 202.

The electronic device 200 as shown in FIG. 2 may include structuressimilar to those of a mobile terminal or user equipment of a wirelesscommunication system. However, any electronic device or apparatus whichmay require encoding and decoding, or encoding or decoding video orimages may be included.

Returning to FIG. 1, the electronic device 200 (i.e., any one or more ofthe variety of devices 102, 104, and/or 106) may capture or collectvarious data (e.g., audio data, environment/operating data, image data,and/or video data) and send the data to the server 122 through thecommunication link 140. The electronic device 200 may process orpre-process the data before sending the data to the server 122, or maysend the unprocessed data to the server 122.

The communication link 140 may include any appropriate type ofcommunication network and may comprise any combination of wired orwireless networks including, but not limited to a wireless cellulartelephone network, a wireless local area network (WLAN), a Bluetoothpersonal area network, an Ethernet local area network, a token ringlocal area network, a wide area network, and the Internet. Thecommunication link 140 may also include private or public cloudcomputing platform for voice/data communication. When the Internet orother type of network is included, connectivity to the Internet mayinclude long range wireless connections, short range wirelessconnections, and various wired connections including telephone lines,cable lines, power lines, and similar communication pathways.

The server 122 may include any type of server computer system ormultiple computer systems configured in a server cluster or distributedin different locations. The server 122 may also include a cloud serveron a cloud computing platform. FIG. 3 illustrates an exemplary computersystem implementing certain aspects of server 122.

As shown in FIG. 3, the computer system 300 may include a processor 302,storage medium 304, a monitor 306, a communication module 308, adatabase 310, and peripherals 312. Certain devices may be omitted andother devices may be included.

Processor 302 may include any appropriate processor or processors.Further, processor 302 can include multiple cores for multi-thread orparallel processing. Storage medium 304 may include memory modules, suchas Read-only Memory (ROM), Random Access Memory (RAM), flash memorymodules, erasable and rewritable memory, and mass storages, such asCD-ROM, U-disk, and hard disk, etc. Storage medium 304 may storecomputer programs for implementing various processes, when executed byprocessor 302.

Further, the peripherals 312 may include I/O devices such as a keyboardand a mouse. The communication module 308 may include network devicesfor establishing connections through the communication network. Thedatabase 310 may include one or more databases for storing certain dataand for performing certain operations on the stored data, such asdatabase searching.

Returning to FIG. 2, the encoder 222 may be an encoder implementing amethod of intra mode coding. In this case, the electronic device 200 mayalso be considered to implement the method of intra mode coding. Thatis, the encoder 222 may be implemented as a hardware circuitry in theelectronic device 200, or may be implemented as a software program bythe electronic device 200, or a combination of the hardware circuitryand the software program. FIG. 4 illustrates an exemplary video encoderconsistent with the disclosed embodiments of the present disclosure.

As shown in FIG. 4, the video encoder 400 includes a block partitionunit 410, a subtraction unit 420, a prediction unit 430, atransform/quantization unit 440, an inverse quantization/inversetransform unit 450, an addition unit 460, an in-loop filter 470, and anentropy encoder 480. An input video is inputted into the encoder 400 andin response, the encoder 400 outputs a bitstream.

The input video includes a plurality of picture frames. Each pictureframe is divided into a sequence of coding tree units (CTUs) by theblock partition unit 410. For a picture frame that has three samplearrays, a CTU consists of an N×N block of luma samples together with twocorresponding N×N blocks of chroma samples. The block partition unit 410further splits the CTU into coding units (CUs) by using aquaternary-tree structure denoted as coding tree to adapt to variouslocal characteristics. The decision whether to code a picture area usinginter-picture (temporal) or intra-picture (spatial) prediction is madeat a leaf CU level. Each leaf CU can further split into one, two, orfour prediction units (PUs) according to a PU splitting type. Within onePU, the same prediction process is applied and the relevant informationis transmitted to a video decoder on a PU basis. After obtaining aresidual block by applying the prediction process based on the PUsplitting type, a leaf CU can be partitioned into transform units (TUs)according to another quaternary-tree structure similar to the codingtree for the CU.

The prediction unit 430 supports intra prediction, inter prediction, andcombined inter and intra prediction. The intra prediction is also calledintra mode coding. To capture the arbitrary edge directions presented ina natural video, the prediction unit 430 supports 65 directional (orangular) intra-prediction modes in addition to planar (surface fitting)intra-prediction mode and DC (flat) intra-prediction mode. Theprediction unit 430 further supports inter-predicted sample generationbased on motion parameters including motion vectors, reference pictureindices and reference picture list usage index, and additionalinformation needed for video coding features. The prediction unit 430also supports a transform skip mode where the CU coded in the transformskip mode or with transform skip is associated with one PU and has nosignificant residual coefficients, no coded motion vector delta orreference picture index. The prediction unit 430 also supports a mergemode where the motion parameters for the current CU are obtained fromneighboring CUs, including spatial and temporal candidates, andadditional schedules. The merge mode can be applied to anyinter-predicted CU, not only for the transform skip mode. The predictionunit 430 also supports an alternative to the merge mode by explicitlytransmitting motion parameters, where the motion vector, thecorresponding reference picture index for each reference picture listand reference picture list usage flag, and other needed information aresignaled explicitly per each CU.

The subtraction unit 420 outputs a difference (or a residual) betweenthe CU and the PU to the transform/quantization unit 440.

The transform/quantization unit 440 supports large block-size transformsup to 64×64 in size. High frequency transform coefficients are zeroedout for the transform blocks with size equal to 64, so that only thelower-frequency coefficients are retained. When transforming a largeblock in the transform skip mode, the transform/quantization unit 440uses the entire block without zeroing out any values. Thetransform/quantization unit 440 also supports multiple transformselection (MTS) for core transform. To control the MTS, thetransform/quantization unit 440 uses separate enabling flags at asequence parameter set (SPS) level for intra and inter prediction,respectively. When the MTS is enabled at the SPS level, a CU level flagis signaled to indicate whether the MTS is applied or not. Thetransform/quantization unit 440 also supports other transform featuresdescribed in the VVC and AV1 draft standards, such as low-frequencynon-separable transform (LFNST) and sub-block transform (SBT).

Further, the transform/quantization unit 440 supports a maximum of 63quantization parameters (QPs). The transform/quantization unit 440 alsosupports a flexible luma-to-chroma QP mapping by signaling theluma-to-chroma mapping relationship in the SPS.

The transform/quantization unit 440 also supports CU-level QP adaptionwhere delta QP values for luma and chroma components can be signaledseparately. The transform/quantization unit 440 also supports otherquantization features described in the VVC and AV1 standards, such asdependent quantization.

The transform/quantization unit 440 also supports joint coding of chromaresiduals, which is indicated by a TU-level flag.

Context-based Adaptive Binary Arithmetic Coding (CABAC) may be describedas the entropy coding algorithm. The entropy encoder 480 includes aCABAC coding engine to encode syntax elements outputted by thetransform/quantization unit 440. The CABAC coding engine supportsarithmetic coding algorithms such as Golomb-Rice coding algorithm. Theentropy encoder 480 supports separate residual coding structures for atransform block and a transform skip block. The entropy encoder 480codes the transform coefficients of a coding block by usingnon-overlapped coefficient groups (CGs or sub-blocks) and each CGcontains the transform coefficients of a coding block of a variablesize. The size of the coefficient group is selected based on a transformblock size only, which is independent of channel type. The size of theCGs may include 1×16, 2'8, 8×2, 2×4, 4×2, and 16×1. The CGs inside eachcoding block and the transform coefficients within each CG are codedaccording to pre-defined scanning orders.

Each coding block in a transform unit is split into a plurality ofsub-blocks and each sub-block is split into a plurality of pixels. Theplurality of sub-blocks include 4×4 or 2×2 sub-blocks.

In the arithmetic coding algorithm, a probability model is dynamicallyselected for each syntax element depending on an absolute level of thesyntax element or a partially reconstructed absolute level of the syntaxelement in a local neighborhood.

The inverse quantization/inverse transform unit 450 reverses thequantization process and the transform process performed by thetransform/quantization unit 440 and feeds an output to the addition unit460 to reconstruct the picture frame. The addition unit 460 also takesthe output of the prediction unit 430 as another input. Thereconstructed picture will be filtered by the in-loop filter 470. Thein-loop filter 470 includes a deblocking filter, a sample adaptiveoffset (SAO) filter, and an adaptive loop filter (ALF), which arecascaded in this order. The output of the in-loop filter 470 is inputtedinto the prediction unit 430.

The present disclosure provides a video encoding and/or decoding method.FIG. 5 illustrates a flowchart of an exemplary video encoding and/ordecoding method consistent with embodiments of the present disclosure.As shown in FIG. 5, the video encoding and/or decoding method includesobtaining a current frame of a video input (at S510). After the currentframe is obtained, the current frame may be divided into a plurality ofcoding blocks according to a partition tree structure.

At S520, the current frame is partitioned into a plurality of codingblocks. The current frame may be divided into various square andrectangular partitions. The square partitions may be further dividedinto smaller partitions. But the rectangular partitions cannot befurther divided.

After the current frame is partitioned to the plurality of codingblocks, a symbol level is predicted for each coding block in intraprediction modes (at S530). Because the intra prediction modes aredefined differently in different video coding formats of different videocoding schemes based on different video coding standards, the intraprediction modes are determined to accommodate various video codingformats of different video coding schemes based on video codingstandards, such as the AV1 standard and the VVC standard, to improvecoding efficiency and compression performance. The corresponding intraprediction modes determined based on the coding efficiency andcompression performance are a subset of all the available intraprediction modes defined in the corresponding video coding scheme. Thesubset is called available intra prediction mode (AIPM) set. The intraprediction modes included in the AIPM set are signaled by the videocoding device, such as the video encoder 400 shown in FIG. 4. Becausethe number of the intra prediction modes included in the AIPM set isless than the number of all the available intra prediction modes definedin the corresponding video coding scheme, fewer bits are needed tosignal the intra prediction modes included in the AIPM set. Further, thesymbol level may be predicted for each coding block in inter predictionmodes in addition to the intra prediction modes.

After the symbol level is predicted, a residual symbol level istransformed and quantized. The residual symbol level is a differencebetween the current symbol level and the predicted symbol level.

One planar intra prediction mode, one DC intra prediction mode, and 85angular intra prediction modes are defined by the VVC standard as shownin FIG. 6. However, the number of available intra prediction modes isalways 67 for each coding block. To code an intra prediction mode, amost probable mode (MPM) list of size 3 is constructed using the intraprediction modes of two neighboring coding blocks. Firstly, one MPM flagis signaled to indicate whether current mode is MPM or not. Then, if MPMflag is true, truncated unary code is used to signal the MPM index,otherwise, 6-bit fix length coding is used to signal the remainingmodes.

On the other hand, 56 angular intra prediction modes, 5 non-angularsmooth intra prediction modes, one chroma only intra prediction mode,and some other intra prediction modes are defined by the AV1 standard. 8directional (or angular) modes correspond to angles from 45 to 207degrees. To exploit more varieties of spatial redundancy in directionaltextures, directional intra prediction modes are extended to an angleset with finer granularity. The angles of the 8 directional modes areslightly changed and made as nominal angles, and these 8 nominal anglesare also called nominal intra angles and named as V_PRED, H_PRED,D45_PRED, D135_PRED, D113_PRED, D157_PRED, D203_PRED, and D67_PRED,corresponding to 90°, 180°, 45°, 135°, 113°, 157°, 203°, and 67°, asillustrated in FIG. 7. Each nominal angle is extended to 7 finer angles.So 56 directional angles (also known as intra angles or predictionangles) are defined in total. Each prediction angle is presented by anominal intra angle plus an angle delta, which is −3˜3 multiplies thestep size of 3 degrees. To implement directional intra prediction modesvia a generic way, all the 56 directional intra prediction modes areimplemented with a unified directional predictor that projects eachpixel to a reference sub-pixel location and interpolates the referencepixel by a 2-tap bilinear filter.

The intra prediction modes also include 5 non-directional and/or smoothintra prediction modes, which are DC, PAETH, SMOOTH, SMOOTH_V, andSMOOTH_H. For DC prediction, the average of left and above neighboringsamples is used as the predictor of the block to be predicted. For PAETHpredictor, top, left and top-left reference samples are firstly fetched,and then the value which is closest to (top +left-top-left) is set asthe predictor for the pixel to be predicted. FIG. 8 illustrates thepositions of top, left, and top-left samples for one pixel in thecurrent block. For SMOOTH, SMOOTH_V, and SMOOTH_H modes, they predictthe block using quadratic interpolation in vertical or horizontaldirections, or the average both directions.

To capture decaying spatial correlation with references on the edges,FILTER INTRA modes are designed for luma blocks. Five filter intra modesare defined. Each of the five filter intra modes is represented by a setof eight 7-tap filters reflecting correlation between pixels in a 4×2patch and 7 adjacent neighbors. In other words, the weighting factorsfor 7-tap filter are position dependent. Take an 8×8 block for example,it is split into 8 4×2 patches, as shown in FIG. 9. These patches areindicated by B0, B1, B2, B3, B4, B5, B6, and B7 in FIG. 9. For eachpatch, 7 adjacent neighbors, indicated by R0˜R7, are used to predict thepixels in the current patch. For the patch B0, all the adjacentneighbors are already reconstructed. But for other patches, not all theadjacent neighbors are reconstructed. The predicted values of theadjacent neighbors are used as references. For example, all the adjacentneighbors of the patch B7 are not reconstructed, so the predictionsamples of the adjacent neighbors (i.e., B5 and B6) are used instead.

Chroma from Luma (CfL) is a chroma-only intra predictor that modelschroma pixels as a linear function of coincident reconstructed lumapixels. The CfL prediction is expressed as follows:

CfL(α)=α×L _(AC) +DC

where L_(AC) denotes the AC contribution of the luma component, adenotes the parameter of the linear model, and DC denotes the DCcontribution of the chroma component. Specifically, the reconstructedluma pixels are subsampled into the chroma resolution, and then theaverage value is subtracted to form the AC contribution. To approximatechroma AC component from the AC contribution, instead of requiring thedecoder to calculate the scaling parameters, CfL determines theparameter a based on the original chroma pixels and signals them in thebitstream. This approach reduces decoder complexity and yields moreprecise predictions. As for the DC contribution of the chroma component,it is computed using intra DC mode, which is sufficient for most chromacontent and has mature fast implementations.

Returning to FIG. 5, at S540, a residual symbol level is transformed andquantized. Large block-size transforms include up to 64×64 in size. Highfrequency transform coefficients are zeroed out for the transform blockswith size equal to 64, so that only the lower-frequency coefficients areretained. When transforming a large block in the transform skip mode,the entire block is used without zeroing out any values. Further,multiple transform selection (MTS) is supported for core transform. Tocontrol the MTS, separate enabling flags are used at a sequenceparameter set (SPS) level for intra and inter prediction, respectively.When the MTS is enabled at the SPS level, a CU level flag is signaled toindicate whether the MTS is applied or not. Other transform features maybe supported, such as low-frequency non-separable transform (LFNST) andsub-block transform (SBT).

Further, a maximum of 63 quantization parameters (QPs) is supported bythe transforming and quantizing process. A flexible luma-to-chroma QPmapping is also supported by signaling the luma-to-chroma mappingrelationship in the SPS. The CU-level QP adaption where delta QP valuesfor luma and chroma components can be signaled separately may also besupported. Other quantization features, such as dependent quantizationmay also be supported.

As shown in FIG. 5, at S550, the transformed and quantized residualsymbol level is entropy coded. The entropy coding algorithm may beContext-based Adaptive Binary Arithmetic Coding (CABAC). A CABAC codingengine may be used to encode syntax elements outputted by thetransforming and quantizing process. The CABAC coding engine supportsarithmetic coding algorithms such as Golomb-Rice coding algorithm.Separate residual coding structures may be supported for a transformblock and a transform skip block. The transform coefficients of a codingblock may be coded by using non-overlapped coefficient groups (CGs orsub-blocks) and each CG contains the transform coefficients of a codingblock of a variable size. The size of the coefficient group is selectedbased on a transform block size only, which is independent of channeltype. The size of the CGs may include 1×16, 2×8, 8×2, 2×4, 4×2, and16×1. The CGs inside each coding block and the transform coefficientswithin each CG are coded according to pre-defined scanning orders.

As shown in FIG. 5, at S560, a bitstream is outputted. As a result ofentropy coding, the bitstream is outputted. The bitstream may betransmitted and/or stored. A decoder may perform a video decoding methodcorresponding to the video encoding method consistent with the presentdisclosure to restore the original video.

To accommodate the intra mode coding for various video coding formats,two intra prediction mode sets, named as allowed intra prediction modeset (AIPM) and disallowed intra prediction mode (DIPM) set may bedefined for each coding block. The AIPM set is defined as one mode setwith modes that can be used for intra prediction of the current block,and the DIPM set is defined as one mode set with modes that cannot besignaled or used for intra prediction of the current block. Each intraprediction mode in the AIPM set and the DIPM set is identified by anindex number. For each block, the intra prediction modes in these twomode sets are derived according to the intra prediction modes ofneighboring blocks. The intra prediction modes of the neighboring blocks(i.e., neighboring modes) are included in the AIPM set but not includedin the DIPM set. The number of modes included in the AIPM set and thenumber of modes included in the DIPM set are predefined and fixed forall blocks. When the size of the AIPM set is S and the number of derivedintra prediction modes from neighboring modes are less than S, thedefault modes are used to fill the AIPM set.

The number of available intra prediction modes is 62, which includes 56angular intra prediction modes, 5 smooth modes, and one chroma from luma(CfL) mode. For 56 angular intra prediction modes, 8 of them are namedas nominal angles, and each of the nominal angle has 7 delta angles(including the nominal angle itself which has 0 delta angle), which aredifferent from the angles defined by the VVC standard. In addition, thesmooth intra prediction modes are defined differently by the AV1standard and the VVC standard. Thus, the intra prediction modes includedin the AIPM set may be determined to accommodate the video codingformats in both standards.

Accordingly, the present disclosure provides a video coding method. Themethod includes the intra mode coding that can be seamlessly applied tothe video coding schemes based on both the VVC standard and the AV1standard. The method may be used separately or combined in any order. Inthe present disclosure, if an intra coding mode is not a smooth mode, oris generating prediction samples according to a given predictiondirection, the intra coding mode is called angular mode. Further, theembodiments of the encoders and decoders consistent with the presentdisclosure may be implemented by processing circuitry (e.g., one or moreprocessors or one or more integrated circuits), which executes programinstructions stored in a non-transitory computer-readable storagemedium.

To make the intra mode coding applicable for video coding formats of thevideo coding schemes based on both the VVC standard and the AV1standard, the video coding method provides a process for determining theintra prediction modes included in the allowed intra prediction mode(AIPM) set. FIG. 10 illustrates a flowchart of determining the intraprediction modes included in the allowed intra prediction mode (AIPM)set consistent with embodiments of the present disclosure. As shown inFIG. 10, at S1010, the current video coding format is determined. Thecurrent video coding format may be one of the video coding formats ofthe video coding schemes based on the VVC standard, the AV1 standard,and revisions thereof.

When the current video coding format is of the video coding scheme basedon the VVC standard, the AIPM set for the video coding scheme based onthe VVC standard includes 6 MPMs and 32 remaining modes for each codingblock. The 6 MPMs are derived from five neighboring blocks as shown inFIG. 11. 32 remaining modes are derived by adding offset values to theangular neighboring modes in the MPM list. Offset values are selectedfrom offsetList1={1, 2, 3, 4, 6, 8}. For each offset value, each angularneighboring mode is added to that offset as a remaining mode if notalready included. After the derivation process is completed, a defaultmode list is used in case the remaining mode list is not full. Thedefault mode list includes {0, 1, 2, 50, 18, 34, 66, 10, 26, 42, 58, 6,14, 22, 30, 38, 46, 54, 62, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44,48, 52, 56, 60, 64, 17, 19, 49, 51}. If the neighboring CU is outside ofcurrent CTU-row, those neighboring modes are skipped for MPM derivationprocess. To code an intra prediction mode, an MPM flag is signaled. Ifthe MPM flag indicates the current mode is an MPM, a truncated unarycodeword with bypass coding is used to signal the MPM index. Otherwise,a 5-bit fixed length codeword with bypass coding is used to signal themode index of the remaining modes. 0.49% coding gain and 16% BD-rateimprovement are achieved with almost no encoding time increase in VTM AIand RA configurations. Thus, by reducing the number of the intraprediction modes included in the AIPM set for the video coding schemebased on the VVC standard, the coding efficiency and the compressionperformance are improved.

Simulations are performed on Linux cluster using VTM configuration withAI and RA configurations to obtain the coding performance data shown inTable 1. The common test conditions are described in the JVET commontest conditions and software reference configurations (JVET-K1010),which is incorporated herein by reference.

TABLE 1 Coding performance All Intra Main10 Random Access Main10 Y U VEncT DecT Y U V EncT DecT Class A1 −0.41% −0.27% −0.29% 99% 95% −0.15%0.01% 0.00% 95% 97% Class A2 −0.42% −0.36% −0.39% 99% 97% −0.14% 0.10%0.02% 95% 97% Class B −0.47% −0.34% −0.39% 96% 94% −0.17% −0.04% 0.03%95% 95% Class C −0.57% −0.51% −0.31% 98% 99% −0.18% 0.07% −0.10% 95% 92%Class E −0.56% −0.38% −0.42% 98% 95% Overall −0.49% −0.38% −0.36% 98%96% −0.16% 0.03% −0.01% 95% 95% Class D −0.41% −0.10% −0.32% 97% 91%−0.10% −0.25% 0.22% 96% 94% Class F −0.76% −0.72% −0.75% 100%  100% −0.49% −0.55% −0.45% 96% 95%

When the current video coding format is of the video coding scheme basedon the AV1 standard, the AIPM set for the video coding scheme based onthe AV1 standard includes angular intra prediction modes of eightnominal angles regardless of the size of the current block or the intraprediction modes of neighboring blocks, where the eight nominal anglesare 45°, 67°, 90°, 113°, 135°, 157°, 180°, and 203°. The AIPM set forthe AV1 video coding format further includes certain non-directionaland/or smooth intra prediction modes regardless of the intra predictionmodes of the neighboring blocks. The available non-directional and/orsmooth intra prediction modes include DC, PAETH, SMOOTH, SMOOTH V, andSMOOTH_H modes. For DC mode, the average of left and above neighboringsamples is used as the predictor of the block to be predicted. For PAETHmode, top, left and top-left reference samples are firstly fetched, andthen the value which is closest to (top +left-top-left) is set as thepredictor for the pixel to be predicted. FIG. 8 illustrates thepositions of top, left, and top-left samples for one pixel in thecurrent block. For SMOOTH, SMOOTH_V, and SMOOTH_H modes, they predictthe block using quadratic interpolation in vertical or horizontaldirections, or the average both directions.

SMOOTH mode is placed at the first position of the AIPM set. DC mode isplaced at the second position of the AIPM set. Only one of SMOOTH_H andSMOOTH_V modes is placed in the AIPM set when the current block isnon-square block. When the current block is a vertical block (blockheight is greater than width), SMOOTH_V mode is placed in the AIPM setand when the current block is a horizontal block (block width is greaterthan block height), SMOOTH_H mode is placed in the AIPM set.Alternatively, when the current block is a vertical block, SMOOTH_H modeis placed in the AIPM set and when the current block is a horizontalblock, SMOOTH_V mode is placed in the AIPM set.

The intra prediction modes included in the AIPM set may be split into 2or 3 levels. For each level, the number of the modes is equal to powerof 2, such as 2^(L), where L is a positive integer greater than 1. Forexample, the number of the modes in the AIPM set is S, the modes include3 levels, and S is equal to 2^(L)+2^(M)+2^(N), where the modes with anindex number smaller than 2^(L) in the AIPM set are called first levelmodes, and the modes with an index number equal to or larger than 2^(L)but smaller than 2^(L)+2^(M) are called second level modes, and so on.

At least one angular mode with non-zero angle delta is included at thefirst level of the AIPM set when at least one of the intra predictionmodes of neighboring blocks is an angular mode. All the modes of thenominal angles are included at the first level of the AIPM set and allthe non-directional and/or smooth modes are also included at the firstlevel of the AIPM set. Additional angular modes with non-zero angledelta may be included in the second level and the third level of theAIPM set.

When the modes in the AIPM set include two levels, a flag is signaled toindicate whether the current mode belongs to the first level or thesecond level, and multi-symbol entropy coding (or other suitable entropycoding methods) is used to signal the index of the current mode in thefirst level or the second level. When the mode in the AIPM set includethree levels, a first flag is signaled to indicate whether the currentmode belongs to the first level or not. If the current mode does notbelong to the first level, then a second flag is signaled to indicatewhether the current mode belongs to the second level or the third levelof the AIPM set. Further, an index number is signaled to indicate thecurrent intra prediction mode in the indicated level by theaforementioned flags.

To reduce the complexity of reconstructing the AIPM set, at most Pneighboring angular modes are used to derive the modes in the AIPM set,where P is a positive integer, such as 1 or 2 or 3. The number ofangular modes in the neighboring blocks is used as a context indicatorwhen signaling the intra prediction modes via a context coded arithmeticencoder.

When the number of neighboring angular modes is equal to 0, the firstcontext is used. Otherwise, when the number of neighboring angular modesis equal to 1, the second context is used. Otherwise, when the number ofneighboring angular modes is equal to 2, the third context is used.

Alternatively, when the number of neighboring angular modes is equal to0, the first context is used. Otherwise, when the number of neighboringangular modes is equal to 1, the second context is used. Otherwise, whenthe number of neighboring angular modes is equal to 2 and two angularmodes are equal, the third context is used. Otherwise, the fourthcontext is used.

For chroma block, both the number of angular modes in the neighboringblocks and the number of angular modes in the co-located luma block arecombined to form the context indicator.

Further, the AIPM set for the luma component is named as AIPM_Luma setand the AIPM set for the chroma component is named as AIPM_Chroma set.The AIPM_Luma set is constructed by using the luma modes of theneighboring blocks, and the AIPM_Chroma set is constructed by using thechroma modes of the neighboring blocks and/or the luma modes of theco-located luma block.

When the luma component and the chroma component share the same AIPMset, the AIPM set is constructed by using the luma modes of theneighboring blocks. The chroma component includes additional crosscomponent linear model modes, such as chroma from luma (CfL) mode. Forexample, when the number of the allowed modes for the luma component isS, the number of the allowed modes for chroma component is S+1. For thechroma component, a flag is signaled to indicate whether the currentmode is the CfL mode or not. When the current mode is not the CfL mode,additional flags are signaled to indicate the index number of thecurrent mode in the AIPM set.

Alternatively or additionally, the number of the allowed modes for thechroma component is kept the same as the number of the allowed modes forthe luma component. However, one of the allowed modes in the AIPM set isreplaced by the CfL mode.

Alternatively or additionally, the AIPM_Luma set is constructed by usingthe luma modes of the neighboring blocks, and the AIPM_Chroma set is asubset of the AIPM_Luma set plus the cross component linear model modes,such as the Chroma from Luma (CfL) mode.

Alternatively or additionally, only the modes at the first level of theAIPM_Luma set is included in the AIPM_Chroma set, and the remainingmodes of the AIPM_Luma set is not included in the AIPM_Chroma set.

Alternatively or additionally, the AIPM_Luma set is constructed by usingthe luma modes of the neighboring blocks, and the AIPM_Chroma set isconstructed by using the chroma modes of the neighboring blocks.

In the embodiments of the present disclosure, the video coding methodsupports the intra prediction modes in the video coding schemes based onboth the VVC standard and the AV1 standard to improve the codingefficiency and the compression performance.

Although the principles and implementations of the present disclosureare described by using specific embodiments in the specification, theforegoing descriptions of the embodiments are only intended to helpunderstand the method and core idea of the method of the presentdisclosure. Meanwhile, a person of ordinary skill in the art may makemodifications to the specific implementations and application rangeaccording to the idea of the present disclosure. In conclusion, thecontent of the specification should not be construed as a limitation tothe present disclosure.

What is claimed is:
 1. A video decoding method, comprising: obtaining acurrent frame of a video input; partitioning the current video frameinto a plurality of coding blocks; predicting a symbol level for eachcoding block in intra prediction modes included in an allowed intraprediction mode (AIPM) set, wherein the AIPM set for luma components ineach coding block is called AIPM_Luma, and the AIPM set for chromacomponents in each coding block is called AIPM_Chroma; transforming andquantizing a residual symbol level; entropy coding the transformed andquantized residual symbol level; and outputting a bitstream, wherein theintra prediction modes included in the AIPM set are determined by:determining whether a current video coding format for the current frameis of a video coding scheme based on a Versatile Video Coding (VVC)standard or a video coding scheme based on an AOMedia Video 1 (AV1)standard; when the current video coding format is of the video codingscheme based on the VVC standard, including 6 most probable modes (MPM)and 32 remaining modes in the AIPM set; and when the current videocoding format is of the video coding scheme based on the AV1 standard,including directional modes of 8 nominal angles and non-directional orsmooth modes in the AIPM set, regardless of a size of the current codingblock or the intra prediction modes of neighboring coding blocks.
 2. Themethod according to claim 1, wherein when the current video codingformat is of the video coding scheme based on the VVC standard: the 6MPMs are derived from 5 neighboring coding blocks; the 32 remainingmodes are derived by adding offset values to the angular neighboringmodes in the 6 MPMs; and when the derivation process produces less than32 remaining modes, additional modes are selected from a default modelist until 32 remaining modes are reached.
 3. The method according toclaim 2, wherein: the offset values are selected from {1, 2, 3, 4, 6,8}; for each offset value, each angular neighboring mode is added tothat offset value to produce a remaining mode unless it is alreadyproduced; and the default mode list includes {0, 1, 2, 50, 18, 34, 66,10, 26, 42, 58, 6, 14, 22, 30, 38, 46, 54, 62, 4, 8, 12, 20, 24, 28, 32,36, 40, 44, 48, 52, 56, 60, 64, 17, 19, 49, 51}.
 4. The method accordingto claim 1, wherein when the current video coding format is of the videocoding scheme based on the AV1 standard: the angular intra predictionmodes in the AIPM set are derived from no more than M number ofneighboring coding blocks, wherein M is a positive integer; the 8nominal angles are 45°, 67°, 90°, 113°, 135°, 157°, 180°, and 203°; andthe non-directional or smooth intra prediction modes include a DC mode,a PAETH mode, a SMOOTH mode, a SMOOTH_V mode, and a SMOOTH_H mode. 5.The method according to claim 4, wherein: the SMOOTH mode is placed inthe first position of the AIPM set; and the DC mode is placed in thesecond position of the AIPM set.
 6. The method according to claim 5,wherein: when the height of the current coding block is greater than orequal to the width of the current coding block, the SMOOTH V_mode isincluded in the AIPM set; and when the width of the current coding blockis greater than the height of the current coding block, the SMOOTH_Hmode is included in the AIPM set.
 7. The method according to claim 5,wherein: when the width of the current coding block is greater than orequal to the height of the current coding block, the SMOOTH_V mode isincluded in the AIPM set; and when the height of the current codingblock is greater than the width of the current coding block, theSMOOTH_H mode is included in the AIPM set.
 8. The method according toclaim 4, further including: splitting the AIPM set into K levels,wherein K is an integer greater than 1 and each of the K levels includes2^(L) number of intra prediction modes, wherein L is an integer greaterthan
 1. 9. The method according to claim 8, wherein: the first level ofthe K levels of the AIPM set includes at least one angular intraprediction mode of non-nominal angles when one of the intra predictionmodes of the neighboring coding blocks is an angular intra predictionmode; or the first level of the K levels of the AIPM set includes theangular intra prediction modes of all the nominal angles; or the firstlevel of the K levels of the AIPM set includes the non-directional orsmooth intra prediction modes.
 10. The method according to claim 8,wherein: when K is equal to 2, the entropy coding signals a first flagto indicate whether the current intra prediction mode is at the firstlevel or the second level, and the index number of the current intraprediction mode in the indicated level; and when K is equal to 3, theentropy coding signals a first flag to indicate whether the currentintra prediction mode is at the first level or not, a second flag toindicate whether the current intra prediction mode is at the secondlevel or the third level, and the index number of the current intraprediction mode in the indicated level.
 11. The method according toclaim 4, wherein: the number of the angular intra prediction modes ofthe neighboring coding blocks is used as a context indicator to signalthe intra prediction modes in context modeling of entropy coding. 12.The method according to claim 11, wherein: when the number of theangular intra prediction modes of the neighboring blocks is equal to 0,a first context is used; when the number of the angular intra predictionmodes of the neighboring blocks is equal to 1, a second context is used;and when the number of the angular intra prediction modes of theneighboring blocks is equal to 2, a third context is used.
 13. Themethod according to claim 11, wherein: when the number of the angularintra prediction modes of the neighboring blocks is equal to 0, thefirst context is used; when the number of the angular intra predictionmodes of the neighboring blocks is equal to 1, the second context isused; when the number of the angular intra prediction modes of theneighboring blocks is equal to 2 and the two angular intra predictionmodes are equal, the third context is used; and when the number of theangular intra prediction modes of the neighboring blocks is equal to 2and the two angular intra prediction modes are not equal, a fourth thirdcontext is used.
 14. The method according to claim 11, wherein: when thecurrent block is a chroma block, the context indicator is derived fromthe number of the angular intra prediction modes of the neighboringchroma blocks and the number of the angular intra prediction modes ofco-located luma block.
 15. The method according to claim 1, wherein:AIPM_Luma is constructed by using luma modes of neighboring blocks; andAIPM_Chroma is constructed by using chroma modes of the neighboringblocks.
 16. The method according to claim 15, wherein: AIPM_Chromafurther includes a chroma from luma (CfL) mode or replaces one of thechroma modes by the CfL mode, wherein each mode in AIPM_Chroma includesa CfL flag to indicate whether the corresponding mode is the CfL mode.17. The method according to claim 1, wherein: AIPM_Luma is constructedby using luma modes of neighboring blocks; and AIPM_Chroma isconstructed by using chroma modes of the neighboring blocks and the lumamodes of the neighboring blocks.
 18. The method according to claim 1,wherein: AIPM_Luma is split into multiple levels; and AIPM_Chromaincludes a first level of AIPM_Luma plus the CfL mode, wherein each modein AIPM_Chroma includes a CfL flag to indicate whether the correspondingmode is the CfL mode.
 19. A video decoding system, comprising: a memorystoring computer program instructions; and a processor coupled to thememory and, when executing the computer program instructions, configuredto perform: obtaining a current frame of a video input; partitioning thecurrent video frame into a plurality of coding blocks; predicting asymbol level for each coding block in intra prediction modes included inan allowed intra prediction mode (AIPM) set, wherein the AIPM set forluma components in each coding block is called AIPM_Luma, and the AIPMset for chroma components in each coding block is called AIPM_Chroma;transforming and quantizing a residual symbol level; entropy coding thetransformed and quantized residual symbol level; and outputting abitstream, wherein the intra prediction modes included in the AIPM setare determined by: determining whether a current video coding format forthe current frame is of a video coding scheme based on a Versatile VideoCoding (VVC) standard or a video coding scheme based on an AOMedia Video1 (AV1) standard; when the current video coding format is of the videocoding scheme based on the VVC standard, including 6 most probable modes(MPM) and 32 remaining modes in the AIPM set; and when the current videocoding format is of the video coding scheme based on the AV1 standard,including directional modes of 8 nominal angles and non-directional orsmooth modes in the AIPM set, regardless of a size of the current codingblock or the intra prediction modes of neighboring coding blocks. 20.The video decoding system according to claim 19, wherein when thecurrent video coding format is of the video coding scheme based on theVVC standard: the 6 MPMs are derived from 5 neighboring coding blocks;the 32 remaining modes are derived by adding offset values to theangular neighboring modes in the 6 MPMs; and when the derivation processproduces less than 32 remaining modes, additional modes are selectedfrom a default mode list until 32 remaining modes are reached.